From: Rui Matos Date: Sun, 29 May 2016 17:42:25 +0000 (+0200) Subject: screenShield: Stop using an offscreen buffer for the arrow actor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~821 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a7562b41484307a6e7a1c0dc36ddde3579f98a3d;p=gnome-shell.git screenShield: Stop using an offscreen buffer for the arrow actor This isn't a performance critical actor and the NVIDIA driver discards offscreen buffers in some cases which would require us to go through extra hoops to handle here which isn't worth it. https://bugzilla.gnome.org/show_bug.cgi?id=739178 --- diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 1c1fad954..e4ffde5dd 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -349,7 +349,6 @@ const Arrow = new Lang.Class({ _init: function(params) { this.parent(params); this.x_fill = this.y_fill = true; - this.set_offscreen_redirect(Clutter.OffscreenRedirect.ALWAYS); this._drawingArea = new St.DrawingArea(); this._drawingArea.connect('repaint', Lang.bind(this, this._drawArrow));